package com.zzgc.modules.param;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class Sort {
    private String sort;
    private String direction = "ASC"; // ASC/DESC

    public Sort(String sort) {
        this.sort = sort;
    }

    public Sort(String sort, String direction) {
        this.sort = sort;
        this.direction = direction;
    }
}
